package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-02-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_region")
public class ShopRegionEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 省份id
     */
    @Column(comment = "省份id")
    private String provinceId;

    /**
     * 省份名称
     */
    @Column(comment = "省份名称")
    private String provinceName;

    /**
     * 城市id
     */
    @Column(comment = "城市id")
    private String cityId;

    /**
     * 城市名称
     */
    @Column(comment = "城市名称")
    private String cityName;

    /**
     * 区县id
     */
    @Column(comment = "区县id")
    private String areaId;

    /**
     * 区县名称
     */
    @Column(comment = "区县名称")
    private String areaName;

    @Column(comment = "创建时间")
    private LocalDateTime createTime;

    @Column(comment = "创建人")
    private Long createBy;

    @Column(comment = "更新时间")
    private LocalDateTime updateTime;

    @Column(comment = "操作人")
    private Long updateBy;


}
